package com.yanqu.road.logic.bussiness.config;

import com.yanqu.road.entity.config.passroad.PassRoadEventInfo;
import com.yanqu.road.entity.config.passroad.PassRoadInfo;
import com.yanqu.road.entity.config.passroad.PassRoadTransportInfo;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class PassRoadBussiness {

	public static Map<Integer, PassRoadInfo> getRoadInfoMap() {
		return DaoHelper.getRoadDaoImpl().getRoadInfoMap();
	}

	public static PassRoadInfo getRoadInfoByPassId(int passId) {
		return DaoHelper.getRoadDaoImpl().getRoadInfoByPassId(passId);
	}

	public static Map<Integer, PassRoadEventInfo> getRoadEventInfoMap() {
		return DaoHelper.getRoadDaoImpl().getRoadEventInfoMap();
	}

	public static Map<Integer, PassRoadTransportInfo> getRoadTransportInfoMap() {
		return DaoHelper.getRoadDaoImpl().getRoadTransportInfoMap();
	}

}
